home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / plain / contrib / vertex / jep.sty < prev    next >
Encoding:
Text File  |  1991-05-22  |  5.7 KB  |  184 lines

  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %     This is the Journal of Economic Perspectives style
  3. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  4.  
  5.  
  6. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  7. %     Load special fonts
  8. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  9.  
  10. \font\twentyBaskB=cmbx12 at 20pt      %chapter titles
  11. \font\sixteenBaskR=cmr12 at 16pt     %authors names
  12. \font\tenBaskI=cmti10 at 10pt         %running heads
  13. \font\twelveBaskB=cmbx12 at 12pt      %article subheads
  14. \font\elevenBaskI=cmti10 at 11pt       %article subsection
  15. \font\twentyfourBaskB=cmbx12 at 24pt  %symposium title
  16. \font\twentyBaskR=cmr12 at 20pt      %department subhead
  17. \font\bigR=cmr12 at 39pt  %first letter of article
  18.  
  19.  
  20. %  Use the following definitions if you have a LaserWriter.
  21. %    The PostScript fonts look much better when scaled.
  22. %
  23. %\font\twentyBaskB=psmtimb at 20pt      %chapter titles
  24. %\font\sixteenBaskR=psmtimr at 16pt     %authors names
  25. %\font\tenBaskI=psmtimi at 10pt         %running heads
  26. %\font\twelveBaskB=psmtimb at 12pt      %article subheads
  27. %\font\elevenBaskI=psmtimi at 11pt       %article subsection
  28. %\font\twentyfourBaskB=psmtimb at 24pt  %symposium title
  29. %\font\twentyBaskR=psmtimr at 20pt      %department subhead
  30. %\font\bigR=psmtimr at 39pt  %first letter of article
  31.  
  32.  
  33. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  34. %      Set pagesize
  35. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  36.  
  37. \hsize=30pc
  38. \vsize=53pc
  39. \hoffset=1in
  40. \voffset=0in
  41.  
  42. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  43. %      Headline and footline
  44. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  45.  
  46. \def\emskip{\hskip 1em}
  47.  
  48. \def\dropstrut{\vrule height 0pt width 0pt depth 6pc}
  49.  
  50. \nopagenumbers
  51. \def\rightheadline{\hbox to \fullsize{\hfil{\tenpoint\it \runtitle}\emskip{\tenpoint\folio}}\dropstrut}
  52. \def\leftheadline{\hbox to \fullsize{\tenpoint\folio\emskip {\tenpoint\it Economic Perspectives}\hfil}\dropstrut}
  53. \headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}
  54.  
  55. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  56. %  Define topmatter style
  57. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  58.  
  59. \def\TitleFont{\twentyBaskB}
  60. \def\AuthorFont{\sixteenBaskR}
  61.  
  62. \def\DoLeftTitle#1{
  63.     \titlepage\global
  64.     \LeftBox
  65.        \titlebox
  66.        \TitleFont
  67.        {24pt}
  68.        {#1}}
  69.  
  70. \def\title#1{\DoLeftTitle{#1}}
  71.  
  72. \def\author#1{\DoLeftAuthor{#1}}
  73.  
  74. \def\affil#1{\global\setbox\affilbox\vbox{\nineit\hfil#1\hfil}}
  75.  
  76. \def\thanks#1{\global\setbox\thanksbox\hbox{\it \vrule height 4pt width 4pt depth 0pt\hskip3pt #1}}
  77.  
  78. \def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}
  79.  
  80. \def\abstract#1{\global\setbox\abstractbox\vbox{\ninepoint\hsize=23pc \noindent #1}}
  81.  
  82. \def\keywords#1{}
  83. \def\address#1{}
  84.  
  85. \def\topmatter{\relax}
  86. \def\endtopmatter{\DoTop}
  87. \def\document{\DoPaper\noindent}
  88.  
  89. \def\SectionFont{\twelveBaskB}
  90. \RomanSectionfalse
  91.  
  92. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  93. %     Big letter to start first paragraph
  94. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  95.  
  96. \def\start#1{\hang\hangafter=-3\hangindent=30pt
  97.  \vbox to 0pt{
  98.    \vskip 9pt\hsize=.25in
  99.       \hbox{\hfil\bigR #1\hss}
  100.          \vss}\noindent}
  101.  
  102.  
  103. \bigskipamount=32pt plus 2pt minus 2pt
  104. \medskipamount=14pt plus 2pt minus 2pt
  105.  
  106. %%Modified \DoLeftSection in VerTeX to eliminate numbers and \noindent
  107.  
  108. \def\DoLeftSection#1{
  109.    \BigBreak
  110.    \SubsectionNumber=0
  111.    \LeftBox
  112.         \sectionbox
  113.         \SectionFont
  114.         \normalbaselineskip
  115.         {#1}
  116.    \line{\box\sectionbox\hfil}
  117.    \global\advance\SectionNumber by 1
  118.    \nobreak\medskip}
  119.  
  120. \def\section#1\par{\DoLeftSection{#1}}
  121.  
  122. \def\subsection#1\par{\BigBreak\noindent{\elevenBaskI #1}\nobreak\medskip}
  123.  
  124. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  125. %   References
  126. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  127.  
  128. \let\RefFont=\eightpoint
  129.  
  130. \def\Refs{
  131. \medskip\noindent\unhbox\thanksbox\par
  132. \vskip 75pt plus 5pt minus 5pt\goodbreak
  133. \line{\tenpoint\bf References \hfil\par}
  134. \vskip 20pt
  135. \RefFont\baselineskip=10pt
  136. \parindent=1em}
  137.  
  138. \def\by#1{\setbox\bybox\hbox{\eightpoint\bf #1}}
  139.  
  140. \def\SetRef{\vskip 2pt
  141.   \ifjour\jourfalse\vbox{
  142.      \unhbox\bybox, ``\unhbox\paperbox,'' 
  143.      \unhbox\jourbox, \unhbox\yrbox, {\unhbox\volbox}, 
  144.      \ifvoid\nobox\relax\else (\unhbox\nobox), \fi
  145.      \unhbox\pagesbox. \par}\fi
  146.  
  147.   \ifbook\bookfalse\par\vbox{
  148.      \unhbox\bybox\space {\it \unhbox\bookbox}. \unhbox\publaddrbox : 
  149.          \unhbox\publbox , \unhbox\yrbox.\par}\fi
  150.  
  151.  \ifinbook\inbookfalse\par\vbox{
  152.      \unhbox\bybox, ``\unhbox\paperbox,'' in 
  153.      {\it \unhbox\bookbox}, ed. by {\rm \unhbox\editorbox}.
  154.      \unhbox\publaddrbox : \unhbox\publbox, \unhbox\yrbox: 
  155.      \ifvoid\pagesbox\relax\else, \unhbox\pagesbox .\fi\par}\fi
  156.  
  157.  \ifunpublished\unpublishedfalse\par\vbox{
  158.      \unhbox\bybox, ``\unhbox\paperbox,'' 
  159.      \unhbox\yrbox, \unhbox\paperinfobox .\par}\fi
  160. }
  161.  
  162.  
  163. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  164. %  Set the paper
  165. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  166.  
  167. \def\titlehead{\line{\it\hfil Economic Perspectives\emskip Volume 1, Number 1 \emskip July, 1987 \emskip Pages 63--70}}
  168. \def\titlefoot{\line{\hfil}}
  169.  
  170. \def\DoTop{
  171. \vglue 7pc
  172. \line{\box\titlebox\hfil}
  173. \vskip 1pc
  174. \line{\box\authorbox\hfil}
  175. \vskip 4pc}
  176.  
  177. \def\DoPaper{\relax}
  178.  
  179.  
  180. \tenpoint
  181. \parindent=20pt
  182. \newdimen\fullsize \fullsize=30pc
  183. \topskip=3.5pc
  184. \def\footnoterule{}